import { defineStore } from "pinia";
import { ref, computed } from "vue";

const storeSetup = () => {
  /* 定义数据--------------------------------------------------------------------- */
  const data = ref([11, 22, 33]);

  /* 定义函数--------------------------------------------------------------------- */

  // 返回参数
  return {
    data,
  };
};

// 导出Store
export const useQrTempStore = defineStore("qrTemp", storeSetup, {
  persist: true,
});
